package com.job.servicejob.mapper;

import com.job.servicejob.entity.Admin;
import com.job.servicejob.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author myt
 * @since 2023-03-20
 */
public interface StudentMapper extends BaseMapper<Student> {
    @Select("SELECT * FROM student WHERE phone = #{phone}")
    public List<Student> searchByPhoneNumber(String phone);
}
